/**
 * Qiangungun.com Inc.
 * Copyright (c) 2015-2015 All Rights Reserved.
 */
package com.qiangungun.report.service.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.qiangungun.core.base.AbstractResponse;

/**
 * 
 * @author hangdahong
 * @version $Id: ServiceResult.java, v 0.1 2015年3月3日 下午6:44:21 hangdahong Exp $
 */
public class ServiceResult<T> extends AbstractResponse{

    /**  */
    private static final long serialVersionUID = 7943373065764030280L;
    
    
    private T body;
    
    
    
    /**
     * Getter method for property <tt>body</tt>.
     * 
     * @return property value of body
     */
    public T getBody() {
        return body;
    }



    /**
     * Setter method for property <tt>body</tt>.
     * 
     * @param body value to be assigned to property body
     */
    public void setBody(T body) {
        this.body = body;
    }



    /** 
     * @see com.qiangungun.core.base.AbstractResponse#toString()
     */
    @Override
    public String toString() {
        
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

}
